﻿//-----------------------------------------------------------------------
// <copyright file="MockCharacterClass.cs" company="FastNET Services">
//     Copyright (c) 2008-2009. All Rights Reserved.
// </copyright>
// <license>
//     GPLv2
// </license>
// <warranty>
//     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
//     BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
//     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// </warranty>
//-----------------------------------------------------------------------
#region Usings

using GateShift.Common.Repository;
using GateShift.Common.Repository.Interfaces.DataInterfaces;

#endregion

namespace GateShift.Testing.Mockup.DataLayer
{
    /// <summary>
    /// Mock character class for testing invalid repository objects
    /// </summary>
    public class MockCharacterClass : ICharacterClassData
    {
        /// <summary>
        /// Gets or sets the number of ranks for this character class
        /// </summary>
        public byte Ranks { get; set; }

        /// <summary>
        /// Gets or sets the character ID
        /// </summary>
        public Identity CharacterID { get; set; }

        /// <summary>
        /// Gets or sets the class ID
        /// </summary>
        public Identity ClassID { get; set; }

        /// <summary>
        /// Gets a value indicating whether or not this instance has been changed
        /// </summary>
        public bool IsDirty
        {
            get
            {
                return false;
            }
        }

        /// <summary>
        /// Gets a value indicating whether or not this instance is a new entity
        /// </summary>
        public bool IsNew
        {
            get
            {
                return false;
            }
        }

        /// <summary>
        /// Gets a value indicating whether or not this instance has been deleted
        /// </summary>
        public bool IsDeleted
        {
            get
            {
                return false;
            }
        }
    }
}